//
//  NetBaiduManager.h
//  car
//
//  Created by chenxu on 15/3/23.
//  Copyright (c) 2015年 chenxu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PrivateMessages.h"
#import "PrivateMessage.h"
#import "Order.h"
@interface NetBaiduManager : NSObject

+ (instancetype)sharedManager;


//Message
//获取所有离线消息
- (void)request_PrivateMessages:(PrivateMessages *)priMsgs andBlock:(void (^)(id data, NSError *error))block;

//发送消息给某人
- (void)push_PrivateMessage:(PrivateMessage *)nextMsg andOrder:(Order*)order andBlock:(void (^)(id data, NSError *error))block;
- (void)pushToall_PrivateMessage:(PrivateMessage *)nextMsg andOrder:(Order*)order andBlock:(void (^)(id data, NSError *error))block;


- (void)query_app_ioscert:(PrivateMessage *)nextMsg andBlock:(void (^)(id data, NSError *error))block;
- (void)query_bindlist:(void (^)(id data, NSError *error))block;


@end
